home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
-
- CreateObjectType("objective_destroy_shuttle", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("TagCount")
- {
- Tag("AllTraitors")
- {
- Amount(1);
- Operator("<");
- }
- }
-
- Action()
- {
- Op("@.shuttledestroyed", "=", 1);
- ObjectiveAbandoned("objective_shuttle_gone");
- NewObjective("objective_block_ravine");
- NewObjective("objective_one_down");
- NewObjective("objective_traitors_eliminated2");
-
- Cineractive()
- {
- At(0)
- {
- Fade()
- {
- Time(1, 2, 3);
- Direction("up");
- }
- }
- At(1)
- {
- Action()
- {
- Op("@Sprawlers_Hidden.triggerarmy", "=", 1);
- }
- }
- At(2)
- {
- DisableIFace(1);
- DisableInput(1);
- DisableShroud(1);
- SetBookmark()
- {
- Name("caravan");
- }
- Action()
- {
- GameMessage()
- {
- Message("msg_block_ravine");
- }
- }
- Letterbox()
- {
- Time(0, 44, 45);
- Direction("down");
- }
- }
- At(14)
- {
- Fade()
- {
- Time(1, 1, 2);
- Mode("up");
- }
- }
- At(15)
- {
- SetBookmark()
- {
- Name("DF_intro");
- }
- Action()
- {
- Delete()
- {
- Tag("CinAll");
- }
- }
- }
- At(25)
- {
- Fade()
- {
- Time(1, 1, 2);
- Mode("up");
- }
- }
- At(26)
- {
- SetBookmark()
- {
- Name("DF_intro2");
- }
- Action()
- {
- ExecuteScript("Unique", "squad.move.spawntoregion")
- {
- Op("%.types", "=", "rigs");
- Op("%.region.src", "=", "SpawnIn");
- Op("%.region.dst", "=", "Rigs");
- }
- }
- }
- At(34)
- {
- Fade()
- {
- Time(1, 1, 2);
- Mode("up");
- }
- }
- At(35)
- {
- SetBookmark()
- {
- Name("rigs2");
- }
- }
- At(45)
- {
- DisableShroud(0);
- DefaultCamera(1)
- {
- Pan()
- {
- Region("Start");
- TrackTerrain(0);
- Time(1);
- }
- }
- }
- At(47)
- {
- EndCineractive();
- Action()
- {
- RegionMessage()
- {
- Region("monkey_power1");
- Message("msg_new_rigs");
- }
- RegionMessage()
- {
- Region("monkey_power2");
- Message("msg_new_rigs");
- }
- NewObjective("objective_blinking2");
- DisplayObjective("Complete", "objective_destroy_shuttle");
- DisplayObjective("Add", "Objective_block_ravine")
- {
- Text("#missions.jda.j03.obj_block_ravine");
- }
- }
- }
- }
- }
- }
- }
-
- CreateObjectType("objective_blinking2", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("Timer")
- {
- Time(10);
- }
-
- Action()
- {
- RegionMessage()
- {
- Region("monkey_power1");
- Message("msg_new_rigs");
- }
- RegionMessage()
- {
- Region("monkey_power2");
- Message("msg_new_rigs");
- }
- NewObjective("objective_blinking2");
- }
- }
- }
-
-